package model.VO;

import java.util.List;

public class SetmealPageVO {
    private int total;
    private List<SetmealVO> records;

    public SetmealPageVO() {
    }

    public SetmealPageVO(int total, List<SetmealVO> records) {
        this.total = total;
        this.records = records;
    }

    /**
     * 获取
     * @return total
     */
    public int getTotal() {
        return total;
    }

    /**
     * 设置
     * @param total
     */
    public void setTotal(int total) {
        this.total = total;
    }

    /**
     * 获取
     * @return records
     */
    public List<SetmealVO> getRecords() {
        return records;
    }

    /**
     * 设置
     * @param records
     */
    public void setRecords(List<SetmealVO> records) {
        this.records = records;
    }

    public String toString() {
        return "SetmealPageVO{total = " + total + ", records = " + records + "}";
    }
}
